package com.stu.design_patterns.factory._03_abstract_factory;

public interface Engine {
  void run();
}

class LuxuryEngine implements Engine {
  @Override
  public void run() {
    System.out.println("高端发动机，转得快");
  }
}

class LowEngine implements Engine {
  @Override
  public void run() {
    System.out.println("低端发动机，转的慢");
  }
}